package com.huan.study.mybatis.service;

import com.huan.study.mybatis.entity.User;

import java.util.List;


/**
 * @author YanXxx
 * @date 2022-11-03 18:30
 */

public interface UserService {

    List<User> list();

    Long add(User user);

    User findById(Long id);

    User findByName(String name);


}
